{% extends "admin/challenges/create.html" %}

{% block header %}
<div class="alert alert-secondary" role="alert">
	Flag的分值会动态变化，当解决这个题目的人数越来越多时，它的分值就越低
</div>
{% endblock %}


{% block value %}
<div class="form-group">
	<label for="value">初始分值<br>
		<small class="form-text text-muted">
			题目初始分值是多少分
		</small>
	</label>
	<input type="number" class="form-control" name="value" placeholder="Enter value" required>

</div>

<div class="form-group">
	<label for="value">衰减极限<br>
		<small class="form-text text-muted">
			如设定10，题目被解出数量达到10时，此时分值降到最小值
		</small>
	</label>
	<input type="number" class="form-control" name="decay" placeholder="Enter decay limit" required>
</div>

<div class="form-group">
	<label for="value">最低分值<br>
		<small class="form-text text-muted">
			这已经是这道题目的最低分数
		</small>
	</label>
	<input type="number" class="form-control" name="minimum" placeholder="Enter minimum value" required>
</div>
{% endblock %}

{% block type %}
<input type="hidden" value="dynamic" name="type" id="chaltype">
{% endblock %}